Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbox2d.dynamics.joints
Class MouseJointDef

    java.lang.Object
      org.jbox2d.dynamics.joints.JointDef
          org.jbox2d.dynamics.joints.MouseJointDef

    public class MouseJointDef

extends JointDef

Field Summary
`float` | `dampingRatio` The damping ratio.
`float` | `frequencyHz` The response speed.
`float` | `maxForce` The maximum constraint force that can be exerted to move the candidate body.
`Vec2` | `target` The initial world target point.
`float` | `timeStep` The time step used in the simulation.

Fields inherited from class org.jbox2d.dynamics.joints.JointDef
`body1, body2, collideConnected, type, userData`

Constructor Summary
`MouseJointDef()`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### target

    public Vec2 target

  The initial world target point. This is assumed to coincide with the body anchor initially.

### maxForce

    public float maxForce

  The maximum constraint force that can be exerted to move the candidate body. Usually you will express as some multiple of the weight (multiplier * mass * gravity).

### frequencyHz

    public float frequencyHz

  The response speed.

### dampingRatio

    public float dampingRatio

  The damping ratio. 0 = no damping, 1 = critical damping.

### timeStep

    public float timeStep

  The time step used in the simulation.

Constructor Detail

### MouseJointDef

    public MouseJointDef()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD